<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="org.codehaus.groovy.grails.commons.ConfigurationHolder" %>
<html>
<head>
  <!-- Integrate with Sitemesh layouts           -->
    <link rel="stylesheet" href="${resource(dir:'css',file:'standard.css')}" />
	<link rel="stylesheet" href="${resource(dir:'css',file:'karma.css')}" />

    <feed:meta kind="rss" version="2.0" controller="feed" action="document"/>


  <!--                                           -->
  <!-- Any title is fine                         -->
  <!--                                           -->
  <title>Proyecto Karma</title>

  <!--                                           -->
  <!-- This script loads your compiled module.   -->
  <!-- If you add any GWT meta tags, they must   -->
  <!-- be added before this line.                -->
  <!--                                           -->
    <script type="text/javascript" src="${ConfigurationHolder.config.grails.appName}/gwt/org.gruposp2p.proyectokarma.gwt.MainEntryPoint/dojo/dojo.js.uncompressed.js"></script>
    <!-- <script type="text/javascript" src="${ConfigurationHolder.config.grails.appName}/dojoApplication.js"></script> -->
  <script type="text/javascript" src="${resource(dir: 'gwt/org.gruposp2p.proyectokarma.gwt.MainEntryPoint', file: 'org.gruposp2p.proyectokarma.gwt.MainEntryPoint.nocache.js')}"></script>
    <script type="text/javascript">
        var config = {
            contextPath: "${ConfigurationHolder.config.grails.appName}"
        };

        function showEditor (){
        	CKEDITOR.replace('documentData', {
        		toolbar_Mytoolbar:
        		[['Bold','Italic','Underline','Strike'],
        		['NumberedList','BulletedList','-','Outdent','Indent', '-', 'Print'], ,
        		['Link','Unlink','Anchor']], toolbar: 'Mytoolbar'}
        	);
        	CKEDITOR.config.entities = false;
        	CKEDITOR.config.entities_latin = false;
        }
    </script>
    <ckeditor:resources />
</head>

<!--                                           -->
<!-- The body can have arbitrary html, or      -->
<!-- you can leave the body empty if you want  -->
<!-- to create a completely dynamic ui         -->
<!--                                           -->
<body>
    <div id="ui"></div>
  <!-- OPTIONAL: include this if you want history support -->
  <iframe id="__gwt_historyFrame" style="width:0;height:0;border:0"></iframe>

</body>
</html>
